#include "odom_slam.h"
#include <iostream>


using namespace std;


odom_slam::odom_slam():
time_stamp(0),
slam_angle(0.0),
slam_distance(0),
slam_x_axes(0),
slam_y_axes(0)
{
  cout<<"buld odom_slam success\r\n"<<endl;
}


odom_slam::odom_slam(int my_time_stamp,float my_slam_angle,int my_slam_distance,float my_slam_x_axes,float my_slam_y_axes){


    time_stamp= my_time_stamp;
    slam_angle= my_slam_angle;
    slam_distance=my_slam_distance;
    slam_x_axes=my_slam_x_axes;
    slam_y_axes=my_slam_y_axes;
}

odom_slam::~odom_slam()
{

    cout<<"destroy odom_slam success\r\n"<<endl;
}

void odom_slam::set_time_stamp(int timestamp){

    time_stamp=timestamp;

}

int odom_slam::get_time_stamp(){

    return  time_stamp;
}


void odom_slam::set_angle(float angle){

    slam_angle=angle;

}

float odom_slam::get_angle(){

    return slam_angle;

}


void odom_slam::set_distance(int  distance){

    slam_distance=distance;

}

int odom_slam::get_distance(){

    return slam_distance;

}

void odom_slam::set_x_axes(float  x_axes){

    slam_x_axes=x_axes;

}

float odom_slam::get_x_axes(){

    return slam_x_axes;

}

void odom_slam::set_y_axes(float  y_axes){

    slam_y_axes=y_axes;

}

float odom_slam::get_y_axes(){

    return slam_y_axes;

}
